x86/memcpy: reduce code size
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 3 Jun 2015 07:28:05 +0000 (09:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Jun 2015 07:28:05 +0000 (09:28 +0200)
commit5e4a6f5473f86423f35425ee0e063398422f7af2
treebf3605d920efc90a7f7f1f8082a8f65309842b29
parent229492e210ae86e35f4af0cfb3f2b98e8e946e04
x86/memcpy: reduce code size

'n % BYTES_PER_LONG' is at most 7, and doesn't need a 64bit register mov.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/string.c